xml.instruct! :xml, :version=>"1.0"
xml.rss(:version=>"2.0"){
  xml.channel{
    xml.title("FlawMill Projects")
    xml.link(projects_url)
    xml.description("#{@projects.size} projects")
    xml.language('en-us')
      @projects.reverse.each do |project|
        xml.item do
          xml.title(h (project.displayname || project.name))
          xml.description(h project.description)
          xml.pubDate(project.created_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
          xml.link(project_url( project.name ))
        end
      end
  }
}
